window.WebCfg = {
  todayMsgFlag:!!1,

  version: 'v1.0',
  // title: '常州公路智慧巡检平台',
  // titleEn: 'TaiZhou Highway Intelligent Inspection Platform',
  // mapBound: '泰州市',
  title: '常州公路智慧巡检平台',
  titleEn: 'ChangZhou Highway Intelligent Inspection Platform',
  mapBound: '常州市',
  mapCenter: [119.981861,31.771397], //地图中心点坐标
  mapZoom: 13,

  autoScale: {
    enable: false, // 是否开启图标自动缩放
    zoom: 12,// 开始放大的等级
    scale: 1.5, // 缩放比例
    evtEnable: true // 事件图标是否启用缩放
  },
  lineMode: 0, // 线上,
  sixLines: 0,
  mock: 0,
  api: [
    {
      url: '//10.20.64.167',
      port: 9032,
      fileSvrPort: location.port,
      wsUrl: '//10.20.64.167',
      wsPort: 11507,
      timer: 5
    },
    {
      url: '//172.16.16.10',
      port: 9032,
      fileSvrPort: location.port,
      wsUrl: '//172.16.16.10',
      wsPort: 11507,
      timer: 5
    },{
      url: '//' + location.hostname,
      port: location.port,
      fileSvrPort: location.port,
      wsUrl: '//' + location.hostname,
      wsPort: 11507,
      timer: 5
    },
    {
      url: '//' + location.hostname,
      port: 9032,
      fileSvrPort: location.port,
      wsUrl: '//' + location.hostname,
      wsPort: 11507,
      timer: 5
    }
  ][location.hostname == '127.0.0.1' || location.hostname == 'localhost' ? 3 : 2],
  //wsApi: 'ws://172.16.16.28:8881',
  //wsApi: 'ws://172.16.16.10:8881',
  // wsApi: `ws://${location.hostname}:${location.port}/ws`,//视频墙服务
  wsApi: `ws://10.20.64.167:8881/ws`,//视频墙服务
  menu: [
    // {
    //   title: '处置中心',
    //   path: 'handleCenter',
    //   icon: 'icon-shexiangtou',
    //   children:[
    //     {
    //       title: '业务指派中心',
    //       path: 'handleList',
    //       icon: 'icon-shexiangtou',
    //     }
    //   ]
    // },
    {
      title: '首页',
      path: 'index',
      icon: 'icon-shouye',
    }, {
      title: '监控中心',
      icon: 'icon-dianshidaping',
      path: 'monitor',
      children: [
        {
          title: '实时监控',
          path: 'screen',
          icon: 'icon-shexiangtou',
        },
        // {
        //   title: '实时工况',
        //   path: 'camera',
        //
        //   icon: 'icon-weifaxianshexiangtou',
        // },
        {
          title: '运维中心',
          path: 'repair',
          icon: 'icon-weihu',
        }
      ]
    }, {
      title: '路网巡查',
      path: 'check',
      icon: 'icon-daoluxuncha',
      children: [
        {
          title: '路情播报',
          path: 'broadcast',
          icon: 'icon-lukuang_0',
        },
        // {
        //   title: '事件播放',
        //   path: 'replay',
        //   icon: 'icon-shipin',
        // },
        {
          title: '处置中心',
          path: 'disposal',
          icon: 'icon-jiandanchuzhi',
        },
        {
          title: '情报中心',
          path: 'data2',
          icon: 'icon-qingbaoxinxi',
        },
        {
          title: '统计分析',
          path: 'count',
          icon: 'icon-24gl-chartPie',
        }
      ]
    }, {
      title: '养护巡检',
      path: 'patrol',
      icon: 'icon-gongluyanghu',
      children: [
        {
          title: '项目管理',
          path: 'project',
          icon: 'icon-jurassic_project',
        },
        {
          title: '巡检车辆',
          path: 'cars',
          icon: 'icon-cheliangguanli',
        },
        {
          title: '情报中心',
          path: 'data',
          icon: 'icon-qingbaoxinxi',
        }
        // {
        //   title: '任务计划',
        //   path: 'task',
        //   icon: 'icon-main',
        // },
        // {
        //   title: '巡检管控',
        //   path: 'control',
        //   icon: 'icon-main',
        // },
        // {
        //   title: '技术评定',
        //   path: 'evaluation',
        //   icon: 'icon-main',
        // },
        // {
        //   title: '巡检日志',
        //   path: 'log',
        //   icon: 'icon-main',
        // }
      ]
    },
    {
      title: '融合平台',
      path: 'fuse',
      icon: 'icon-qingbaoxinxi',
      children: [
        {
          title: '云控平台',
          path: 'cloud',
          icon: 'icon-yonghu-yuan',
        },
        // {
        //   title: '科技兴安',
        //   path: 'kejixingan',
        //   icon: 'icon-yonghu-yuan',
        // }
      ]
    },
    {
      title: '系统管理',
      path: 'system',
      icon: 'icon-xitong',
      children: [
        {
          title: '用户管理',
          path: 'user',
          icon: 'icon-yonghu-yuan',
        },

        {
          title: '组织架构',
          path: 'org',
          icon: 'icon-jurassic_project',
        },
        {
          title: '数据仓库',
          path: 'data',
          icon: 'icon-yidongyunkongzhitaiicon40',
        },
        {
          title: '角色管理',
          path: 'role',
          icon: 'icon-yonghu-yuan',
        },
        // {
        //   title: '权限管理',
        //   path: 'permission',
        //   icon: 'icon-main',
        // },
        {
          title: '操作日志',
          path: 'log',
          icon: 'icon-caozuorizhi',
        }
      ]
    },
    {
      title: '处置中心',
      path: 'handle',
      icon: 'icon-jiandanchuzhi'
    }
  ],
  copyRight: {
    company: '南京张力信息技术有限公司',
    url: 'http://www.tensionai.com',
    year: '2019-2024'
  },

  icons: {
    map: 'icon-ditu',//地图模式
    video: 'icon-shipin',// 视频模式
    image: 'icon-tupian', // 图片模式
    chart: 'icon-24gl-chartPie', // 图表模式
    table: 'icon-jurassic_project', // 表格模式

    outsideDev: 'icon-jifangsheshi',//场外设施
    evtCount: 'icon-jinri',//今日事件
    centerEvtCount: 'icon-jinriqianggou',//各中心今日事件
    cameraInfo: 'icon-weifaxianshexiangtou',//摄像机工况
    centerRoadCount: 'icon-high-road',//各中心道路里长统计
    roadInfo: 'icon-gongluyanghu',//道路信息
    centerCarsInfo: 'icon-cheliangguanli',//养护作业车辆
    visibility: 'icon-wu',//能见度监控采样
    liveEvt: 'icon-lukuang_0',//即时路况

    allCameraInfo: 'icon-shexiangtou',//所有摄像机运行总览
    errorCameraInfo: 'icon-weifaxianshexiangtou',//故障摄像机统计
    errorAndFixCount: 'icon-guzhangjiluchaxun',//故障和修复摄像机统计
    brandErrorInfo: 'icon-24gl-videoCamera',//所有摄像机运行总览

    // 查看事件字典对应的名称
    '010-006': 'icon-xingren',
    "001-001-001": "icon-shigongdi",
    "001-005": "icon-sunhuai",
    '002-007-002': 'icon-wumai',
    '002-009-002': 'icon-daoluyongdu',
    '002-009-005': 'icon-caishichang-',
    '002-010-003': 'icon-nixiang',
    '002-010-005': 'icon-weitingjubao',
    '002-010-007': 'icon-huanting',
    '002-010-009':'icon-luzhang',
    '002-010-010':'icon-chaogao',
    "002-005-006": 'icon-caishichang-',
    "002-005": 'icon-xingren',

  },
  eventColor: {
    "001-001-001": "#8907F2", // 施工
    "001-005": "#09F2FE", //设施损坏
    "002-009-009-001": "#bfbfbf", // 离线
    "002-009-009-002": "#F4EA2A",
    "002-009-009-003": "#A78336",
    "002-009-009-004": "#9C3DB9",
    "zl-002-009-009-005":"#FF7F00",

    "010-006": "#FFE206", // 行人
    "002-005": "#E00200", // 交通事故
    "002-005-006": "#FE2B14", // 抛洒障碍
    "002-007-001": "降雨",
    "002-007-002": "#1CE40B", // 雾霾
    "002-007-003": "降雪",
    "002-007-004": "风吹雪",
    "002-007-005": "结冰",
    "002-007-006": "台风",
    "002-007-007": "大风",
    "002-007-008": "沙尘",
    "002-007-009": "冰雹",
    "002-007-010": "高温",
    "002-009-002": "#FC6202",  // 拥堵
    "002-009-005": "#7BA008", // 抛洒物
    "002-010-003": "#FF06FB", // 逆行
    "002-010-005": "#0420F5", // 异常行驶
    "002-010-007": "#0AB1F7",
    '002-010-009':'#42D2FD',
    '002-010-010':'#FD55B1',

  },
  scrollOption: {
    scrollPanel: {
      scrollingX: false
    },
    bar: {
      size: '3px',
      hoverStyle: true,
      onlyShowBarOnScroll: false,
      background: '#069', //滚动条颜色
      opacity: 0.5, //滚动条透明度
    }
  },
  timeSpaces: ['5']
};
